/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity.tta;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

/**
 *
 * @author Lu Xiaodi
 */
@Entity
public class OutletDataModel extends DataModel implements Serializable {

    private Long outletId;
    // types in StrDblRecord:MonthSurvey, in the following format: "YYYY_MM_:questionNumber" and Str
    // types in strLongRecords: Item_Food.name
    @OneToMany
    private StrLongRecord strLongRecords;
    @OneToMany
    private StrDblRecord strDblRecords;
    

    public Long getOutletId() {
        return outletId;
    }

    public void setOutletId(Long outletId) {
        this.outletId = outletId;
    }

    /**
     * @return the strLongRecords
     */
    public StrLongRecord getStrLongRecords() {
        return strLongRecords;
    }

    /**
     * @param strLongRecords the strLongRecords to set
     */
    public void setStrLongRecords(StrLongRecord strLongRecords) {
        this.strLongRecords = strLongRecords;
    }

    /**
     * @return the strDblRecords
     */
    public StrDblRecord getStrDblRecords() {
        return strDblRecords;
    }

    /**
     * @param strDblRecords the strDblRecords to set
     */
    public void setStrDblRecords(StrDblRecord strDblRecords) {
        this.strDblRecords = strDblRecords;
    }
    
}
